

export default [
  // 首页路由（使用布局组件）
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/login',
    name: 'login',
    component: () => import(/* webpackChunkName: "login" */ '@/views/login/index.vue'),
    meta: {
      title: '登录'
    }
  },
    {
    path: '/login/forget',
    name: 'forget',
    component: () => import(/* webpackChunkName: "forget" */ '@/views/login/forget.vue'),
    meta: {
      title: '重置密码'
    }
  },
  {
    path: '/index',
    name: 'index',
    component: () => import(/* webpackChunkName: "index" */ '@/views/index.vue'),
    meta: {
      title: '首页'
    }
  },
  {
    path: '/my',
    name: 'my',
    component: () => import(/* webpackChunkName: "my" */ '@/views/my/index.vue'),
    meta: {
      title: '我的'
    }
  },
  {
    path: '/contract/createList',
    name: 'createList',
    component: () => import(/* webpackChunkName: "createList" */ '@/views/contract/createList.vue'),
    meta: {
      title: '合同创建'
    }
  },
  {
    path: '/contract/createForm',
    name: 'createForm',
    component: () => import(/* webpackChunkName: "create" */ '@/views/contract/createForm.vue'),
    meta: {
      title: '创建合同'
    }
  },
  {
    path: '/contract/detail',
    name: 'detail',
    component: () => import(/* webpackChunkName: "detail" */ '@/views/contract/createForm.vue'),
    meta: {
      title: '合同详情'
    }
  },
  {
    path: '/contract/queryList',
    name: 'queryList',
    component: () => import(/* webpackChunkName: "queryList" */ '@/views/contract/list.vue'),
    meta: {
      title: '合同查询'
    }
  }
  ,
  {
    path: '/contract/contractCopy',
    name: 'contractCopy',
    component: () => import(/* webpackChunkName: "contractCopy" */ '@/views/contract/createForm.vue'),
    meta: {
      title: '合同复制'
    }
  },
]
